#ifndef G3_LUA_FONT_H
#define G3_LUA_FONT_H

#include <string>
#include "lua_handler.h"

int tolua_fontscript_open (lua_State *LuaState);

//==============================================================================
// Only for the Lua binding
//==============================================================================
extern int G3FS_NumChars;
extern int G3FS_NumCharsPerRow;
extern int G3FS_NumCharStart;
extern int G3FS_CharWidth;
extern int G3FS_CharHeight;
extern int G3FS_CharSet;
extern float G3FS_Spacing;
extern std::string G3FS_BitmapFile;

static void FS_SetBitmap (const char *aFilename) {
	Assert (aFilename, "FS_SetBitmap: Filename argument is a NULL pointer");
	
	G3FS_BitmapFile = (std::string) aFilename;
}

#endif
